package com.edu.exam.enums.curriculum.questionbank;

/**
 * 变更类型枚举
 * 
 * 试题版本的变更类型定义
 * 
 * @author System
 * @version 1.0.0
 */
public enum ChangeType {
    CREATE("CREATE", "创建"),
    UPDATE("UPDATE", "更新"),
    MODIFY("MODIFY", "修改"),
    DELETE("DELETE", "删除"),
    CONTENT("CONTENT", "内容变更"),
    METADATA("METADATA", "元数据变更"),
    STATUS("STATUS", "状态变更"),
    APPROVAL("APPROVAL", "审核变更");

    private final String code;
    private final String description;

    ChangeType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}